//<template>
  <div>
      <p>{{new_info.stu_name}}</p>
      <p>{{new_info.stu_sex}}</p>
      <p><img :src="url+new_info.icon" alt=""></p>
      <p>{{new_info.stu_desc}}</p>
      
  </div>
</template>

<script>
import axios from 'axios'
export default {
    data(){
        return{
            new_info:[]
        }
    },
    methods:{
        get_new(){
            axios({
                url:'http://127.0.0.1:8000/app03//',
                method:'get',
                params:{'id':this.$route.params.id}
            }).then(res=>{
                console.log(res.data)
                this.new_info = res.data
            })
        },
    },
    created(){
        this.get_new()
    }
}
</script>

<style>

</style>